import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  },
  {
    path: '/one',
    name: 'One',
    component: () => import('../views/One.vue')
  },
  {
    path: '/two',
    name: 'Two',
    component: () => import('../views/Two.vue')
  },
  {
    path: '/three',
    name: 'Three',
    component: () => import('../views/Three.vue')
  },
  {
    path: '/four',
    name: 'Four',
    component: () => import('../views/Four.vue')
  },
  {
    path: '/five',
    name: 'Five',
    component: () => import('../views/Five.vue')
  },
  {
    path: '/six',
    name: 'Six',
    component: () => import('../views/Six.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
